package com.itboye.ihomebank.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/8/8 0008.
 *
 "count": 1,
 "list": [
 {
 "id": 9,
 "uid": 1448,
 "lock_id": "sciener_1259613",
 "cardNumber": "83",
 "cardId": "77423",
 "card_name": "",
 "start": 0,
 "end": 0,
 "create_time": 0,
 "update_time": 1533718916
 }
 ]
 */

public class ICCardListBean implements Serializable {

    int count;
    List<ICCardBean> list;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<ICCardBean> getList() {
        return list;
    }

    public void setList(List<ICCardBean> list) {
        this.list = list;
    }

    public class ICCardBean implements Serializable{

        int   id;
        int   uid;
        String   lock_id;
        @SerializedName("cardNumber")
        String   cardnumber;
        @SerializedName("cardId")
        String   cardid;
        String   card_name;
        String   start;
        String   end;
        String   create_time;
        String   update_time;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getLock_id() {
            return lock_id;
        }

        public void setLock_id(String lock_id) {
            this.lock_id = lock_id;
        }

        public String getCardnumber() {
            return cardnumber;
        }

        public void setCardnumber(String cardnumber) {
            this.cardnumber = cardnumber;
        }

        public String getCardid() {
            return cardid;
        }

        public void setCardid(String cardid) {
            this.cardid = cardid;
        }

        public String getCard_name() {
            return card_name;
        }

        public void setCard_name(String card_name) {
            this.card_name = card_name;
        }

        public String getStart() {
            return start;
        }

        public void setStart(String start) {
            this.start = start;
        }

        public String getEnd() {
            return end;
        }

        public void setEnd(String end) {
            this.end = end;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        @Override
        public String toString() {
            return "ICCardBean{" +
                    "id=" + id +
                    ", uid=" + uid +
                    ", lock_id='" + lock_id + '\'' +
                    ", cardnumber='" + cardnumber + '\'' +
                    ", cardid='" + cardid + '\'' +
                    ", card_name='" + card_name + '\'' +
                    ", start='" + start + '\'' +
                    ", end='" + end + '\'' +
                    ", create_time='" + create_time + '\'' +
                    ", update_time='" + update_time + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "ICCardListBean{" +
                "count=" + count +
                ", list=" + list +
                '}';
    }
}
